home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / MacGzip 1.1.1 / Docs / How To Build next >
Encoding:
Text File  |  1997-07-20  |  2.2 KB  |  51 lines  |  [TEXT/ttxt]

  1. •  How To Build MacGzip 1.1.1
  2.  
  3. You can build MacGzip 1.1.1 using:
  4.  
  5.  ¬ Symantec C 8.0 (the PPC version would require a PPC version of ICGluePPC.lib)
  6.  ¬ Metrowerks CW 11 IDE 1.7.4
  7.  
  8.     (I guess Symantec C 7 will work also, but the prototypes for some functions are different, so you will have to change some sources…)
  9.  
  10. 1: Make "MacGzip 1.1.1 tc/68k" (optional)
  11.  
  12.     Put an alias of Mac:Internet Config folder on your Symantec Aliases Folder
  13.  
  14.     Open MacGzip.68K.π using THINK Project Manager (7.0.4). Choose Build Application… from the Project Menu and save as 'MacGzip 1.1.1 tc/68k'
  15.  
  16. 2: Make "MacGzip 1.1.1 mw/68k"
  17.  
  18.     Open MacGzip.68K.µ using CodeWarrior IDE 1.7.4
  19.     Choose Make from the Project menu. This will create 'MacGzip 1.1.1 mw/68k'.
  20.  
  21. 3: Make "MacGzip 1.1.1 mw/PPC" (previous)
  22.  
  23.     Open MacGzip.PPC.µ using CodeWarrior IDE 1.7.4
  24.     Choose Make from the Project menu. This will create 'MacGzip 1.1.1 mw/PPC'.
  25.  
  26. 4: Make "MacGzip 1.1.1 mw/FAT"
  27.  
  28.     From Finder, duplicate 'MacGzip 1.1.1 mw/PPC' and rename it to 'MacGzip 1.1.1 mw/FAT'
  29.  
  30.     Open 'MacGzip 1.1.1 mw/FAT' using ResEdit.
  31.     Open 'MacGzip 1.1.1 mw/68k' using ResEdit.
  32.       Copy 'DATA' and 'CODE' resources from MacGzip 1.1.1 mw/68k to MacGzip 1.1.1 mw/FAT.
  33.     Replace the 'vers' resources by the contents of
  34.       More Resources:Version(mw/FAT).rsrc
  35.     Save MacGzip 1.1.1 mw/FAT
  36.  
  37. 5: Finish "MacGzip 1.1.1 mw/PPC"
  38.  
  39.     Open 'MacGzip 1.1.1 mw/PPC' using ResEdit.
  40.     Open 'More Resources:NotPPC' using ResEdit.
  41.     Copy all resources except 'SIZE' from NotPPC to MacGzip 1.1.1 mw/PPC.
  42.     Save MacGzip 1.1.1 mw/PPC
  43.  
  44.     (This is to avoid '-192' error when launching PPC version on a 68K Macintosh)
  45.  
  46. 6: Choose you favourite MacGzip 1.1.1 xx/xx and rename it to MacGzip
  47.  
  48.     (Throw the rest to the trash can, and put MacGzip in your desktop. If you put an alias you won't be able to see Finder Balloon Help easily…)
  49.  
  50.   If you have modified the sources, please change also the about window and the 'vers' resource. If you want to distribute the modified version, it would be nice of you to e-mail me first… (macspd@ivo.cps.unizar.es) (and remember, according to GNU's GPL, you must distribute sources too, this is why I made them public, not because they could be a good example for anybody…)
  51.